﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AdminPassword.ascx.cs" Inherits="Job.Web.userControls.Admin.AdminPassword1" %>
  
				  
<table width="99%" border="0" cellpadding="0" cellspacing="0" class="table_font" align="left">		    
  <tr>
    <td class="table_font_td">旧&nbsp;密&nbsp;码<span class="redstar">*</span></td>
    <td class="table_font_td">
        <asp:TextBox ID="tbOldPassword" runat="server" Width="150px" MaxLength="20" 
            TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfv1" runat="server" 
            ControlToValidate="tbOldPassword" ErrorMessage="必须输入旧密码"></asp:RequiredFieldValidator>
    </td>
  </tr>
  <tr align="left"><td colspan="2" class="table_font_td">&nbsp;</td></tr>   
  
  <tr>
    <td class="table_font_td">新&nbsp;密&nbsp;码<span class="redstar">*</span></td>
    <td class="table_font_td">
        <asp:TextBox ID="tbNewPassword1" runat="server" Width="150px" MaxLength="20" 
            TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfv2" runat="server" 
            ControlToValidate="tbNewPassword1" ErrorMessage="必须输入新密码"></asp:RequiredFieldValidator>
    </td>
  </tr>  
  <tr>
    <td class="table_font_td">密码确认<span class="redstar">*</span></td>
    <td class="table_font_td">
        <asp:TextBox ID="tbNewPassword2" runat="server" Width="150px" MaxLength="20" 
            TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfv3" runat="server" 
            ControlToValidate="tbNewPassword2" ErrorMessage="必须输入新密码"></asp:RequiredFieldValidator>
        <asp:CompareValidator ID="cvPassword" runat="server" 
                    ControlToCompare="tbNewPassword1" ControlToValidate="tbNewPassword2" 
                    ErrorMessage="两次输入的新密码不一致"></asp:CompareValidator>             
    </td>
  </tr>          
                    
  <tr>
    <td class="table_font_td">&nbsp;</td>
    <td class="table_font_td">
        <asp:Button ID="btSave" runat="server" Text=" 更改密码 " onclick="btSave_Click" CssClass="btn_2k3"/>&nbsp;&nbsp;
    </td>
  </tr>                                                                                                                                                                                 
</table>	
<br />										  
